package com.hdy.login.dto;

import com.hdy.framework.common.dto.Dto;
import com.hdy.login.entity.User;

/*
	by 何栋宇
	2013-1-19
 */
public class UserDto extends User implements Dto{
	private static final long serialVersionUID = 2476663402869955879L;
	public User toEntity(){
		User entity = new User();
		entity.setId(getId());
		entity.setName(getName());
		return entity;
	}

}
